#!/bin/bash

sum_func ()
{
	sum=$[$1+$2]
	echo $sum
}

read -p "请输入第一个值：" n1
read -p "请输入第二个值：" n2

sum_func $n1 $n2
#sum_func 2 3
